
package com.example.demo;

public class Solution{
    public int func(int a, int b){
        return a+b;
    }
    public int answer(int a, int b){
        return a+b;
    }

    public static void main(String[] args){
        Solution solution = new Solution();
        if(solution.answer(2,3)==solution.func(2,3)){
            System.out.println("答案正确！");
        }else{
            System.out.println("答案错误！");
        }
    }
}
